# admin.py

from django.contrib import admin
from .models import Profile
from django.contrib.auth.models import User


class UserProfileInline(admin.StackedInline):
	model = Profile


class UserAdmin(admin.UserAdmin):
	inlines = [UserProfileInline]


admin.site.unregister(User)
admin.site.register(User, UserAdmin)